package cn.leyaber.hrm.domain;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author ma.rui.kai
 * @since 2020-10-22
 */
@TableName("administration_push")
public class Push extends Model<Push> {

    private static final long serialVersionUID = 1L;

    private Long id;
    private String title;
    private String content;
    private String picture;
    private String cover;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPicture() {
        return picture;
    }

    public void setPicture(String picture) {
        this.picture = picture;
    }

    public String getCover() {
        return cover;
    }

    public void setCover(String cover) {
        this.cover = cover;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "Push{" +
        ", id=" + id +
        ", title=" + title +
        ", content=" + content +
        ", picture=" + picture +
        ", cover=" + cover +
        "}";
    }
}
